package com.chai.factory;

import com.chai.service.BookService;

/**
 * 实例工厂创建对象
 * */
public class BookInstanceFactory {

    public static void main(String[] args) {
        BookFactory bookFactory = new BookFactory();
        BookService service = bookFactory.getService();
        service.execute();
    }
}
